﻿<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>HTML5 Local Data Demo</title>
    <link href="../css/html5reset.css" rel="stylesheet" type="text/css" />
    <link href="../css/style.css" rel="stylesheet" type="text/css" />
    <link href="../css/main.css" rel="stylesheet" type="text/css" />
<!--[if lt IE 9]>
<script src="html5.js"></script>
<![endif]-->
</head>
<body>
<header>
<h1>HTML5 Drag & Drop Demo</h1>
</header>

<div>
<p>You Have Viewed This Page <b>
<script>
    if (!localStorage.pageCounter)
        localStorage.setItem('pageCounter', 0);
    localStorage.setItem('pageCounter', parseInt(localStorage.pageCounter) + 1);
    document.write(localStorage.pageCounter);
</script>
</b> Time(s).</p>
<p><input value="Clear localStorage" type="button"
onClick="localStorage.clear();location.reload(true);" />
<input value="Reload Page" type="button" onClick="location.reload(true);"
/></p>
</div>

</body>
</html>